//
//  SSUserInfoModel.h
//  wordSmartStore
//
//  Created by xieShou on 2020/4/23.
//  Copyright © 2020 xieShou. All rights reserved.
//

#import "SSBaseModel.h"

NS_ASSUME_NONNULL_BEGIN
@class SSUserInfoModel;
@interface SSUserInfoModelData : SSBaseModel
@property (nonatomic,strong) SSUserInfoModel *data;
@end
@class SSMemberLevel;
@class SSmemberOptions;
@class SSequityRecord;
@class SSmemberData;
@class userMember;
@interface SSUserInfoModel : NSObject
@property (nonatomic,copy) NSString *haveid;
@property (nonatomic , assign)NSInteger realnameType;
@property (nonatomic , assign) NSInteger fieldStyle;
@property (nonatomic , assign) NSInteger sourceLocation;

@property (nonatomic , assign) NSInteger payType;
@property (nonatomic , assign) NSInteger codeRelease;
@property (nonatomic,assign) int accesstokenCode;
@property (nonatomic , assign) NSInteger userLevel;
@property (nonatomic , assign) BOOL isEnabled;
@property (nonatomic , assign) NSInteger authenticationStatus;
@property (nonatomic,copy) NSString *unionid;
@property (nonatomic,copy) NSString *imei;
@property (nonatomic,copy) NSString *openid;
@property (nonatomic,copy) NSString *birthday;

@property (nonatomic,copy) NSString *remarks;

@property (nonatomic,copy) NSString *expires_in;
@property (nonatomic,copy) NSString *access_token;
@property (nonatomic,copy) NSString *jti;
@property (nonatomic,copy) NSString *refresh_token;
@property (nonatomic,copy) NSString *scope;
@property (nonatomic,copy) NSString *token_type;
@property (nonatomic,copy) NSString *authenticationMethod;

@property (nonatomic,copy) NSString *signature;
@property (nonatomic,copy) NSString *introduction;
@property (nonatomic,copy) NSString *Id;  // 144;
@property (nonatomic,copy) NSString *realName;  // <null>;
//手机号
@property (nonatomic , copy) NSString *mobile;
@property (nonatomic , copy) NSString *totalSpace;
@property (nonatomic , copy) NSString *expirationDate;
@property (nonatomic , copy) NSString *diskRario;
@property (nonatomic,copy) NSString *number;
//昵称
@property (nonatomic,copy) NSString *nickName;
@property (nonatomic,copy) NSString *username;
@property (nonatomic,copy) NSString *memberlevel;
@property (nonatomic,copy) NSString *usedSpace;
@property (nonatomic,copy) NSString *character;
//头像地址
@property (nonatomic,copy) NSString *headImg;





//关注类型   0 未关注   1 已关注   2 相互关注
@property (nonatomic , assign) NSInteger guanZhuType;


@property (nonatomic , assign) BOOL isSendShareDataToFriend;
@property (nonatomic , assign) BOOL IsHidenAddFriendButton;

// 发送到反抄袭数据时 是否是选中状态默认是 NO
@property (nonatomic , assign) BOOL sendShareDataToFriendButtonIsSelect;


//会员权益详情：网盘、字数、点数
@property (nonatomic,strong)NSArray <SSequityRecord *>*equityRecord;
@property (nonatomic,strong)NSArray <SSmemberData *>*memberData;

@property (nonatomic,strong)NSArray <userMember *>*userMember;

@property (nonatomic , assign) NSInteger recStartEndnotes;// 推荐插入启用尾注 0关闭 1尾注 2脚注
@property (nonatomic , assign) NSInteger autoRecommend;//自动推荐 0关闭 1启用
@property (nonatomic , assign) NSInteger font;//字号 1小号 2中号 3大号
@property (nonatomic , assign) NSInteger thirdPartyRecommend;//第三方推荐 0关闭 1启用

//最后登录时间
@property (nonatomic , copy) NSString * lastLoginTime;
//会员权益天数
@property (nonatomic , assign) NSInteger memberExpirationDay;
//会员有效期
@property (nonatomic , copy) NSString *memberExpirationTime;
@property (nonatomic,strong) SSMemberLevel *memberLevel;
//会员等级id（普通会员为null、1-3为VIP、4-6为SVIP）
@property (nonatomic , assign) NSInteger memberLevelId;
//会员等级, 1为普通会员,2为VIP会员,3为SVIP超级会员
@property (nonatomic , assign) NSInteger memberLevelNo;
//会员套餐详情
@property (nonatomic , copy) NSString *memberMealName;
//会员名称, 普通会员、VIP会员、SVIP超级会员
@property (nonatomic , copy) NSString *memberName;
@property (nonatomic,strong) SSmemberOptions *memberOptions;//会员细项


//parentId
@property (nonatomic , assign) NSInteger parentId;
//用户ID
@property (nonatomic , assign) NSInteger userId;
//游客登录token
@property (nonatomic,copy) NSString *tempToken;




@property (nonatomic,copy) NSString *identity;  // <null>;
@property (nonatomic,copy) NSString *sex;  // 0;
//@property (nonatomic,copy) NSString *mobile;  // 13347294912;
@property (nonatomic,copy) NSString *age;  // <null>;
@property (nonatomic,copy) NSString *labels;  // <null>;
//@property (nonatomic,copy) NSString *memberLevel;  // <null>;
@property (nonatomic,copy) NSString *password;  // 8EC2A0187A08B26508D55A774592E796;
@property (nonatomic,copy) NSString *createTime;  // 2021-01-12 15:53:23;
//@property (nonatomic,copy) NSString *nickName;  // 快乐耶耶;
@property (nonatomic,copy) NSString *areas;  // 0,0,0;
//@property (nonatomic,copy) NSString *lastLoginTime;  // 2021-01-12 15:53:23;
@property (nonatomic,assign) NSInteger account;  // 13347294912;
//@property (nonatomic,copy) NSString *memberLevelId;  // 1;
//@property (nonatomic,copy) NSString *headImg;  // https://ipad2.writemall.com/headImg/f9564340711642498c0a462adf4be953.jpg;
@property (nonatomic,copy) NSString *profession;  // <null>


@end

@interface SSMemberLevel : NSObject
//等级名称
@property (nonatomic,strong) NSString *alias;
//会员等级
@property (nonatomic,assign) NSInteger level;
@end

@interface SSmemberOptions : NSObject
//会员天数
@property (nonatomic , assign) NSInteger day;
@property (nonatomic , assign) NSInteger memberLevelNo;
//会员信息表主键
@property (nonatomic , assign) NSInteger Id;
//会员等级，2表示VIP，3表示SVIP
@property (nonatomic , assign) NSInteger level;
//会员费用
@property (nonatomic , assign) NSInteger price;
//充值会员模式，1表示月卡会员，2表示连续包月会员，3表示年卡会员
@property (nonatomic , assign) NSInteger type;
//会员单位
@property (nonatomic,assign) NSInteger unit;
@end


@interface SSequityRecord : NSObject
//永久权益剩余数量
@property (nonatomic , assign) NSInteger count;
//创建时间
@property (nonatomic , copy) NSString * createdate;
//会员权益信息表主键
@property (nonatomic , assign) NSInteger Id;
//当月权益剩余数量
@property (nonatomic , assign) NSInteger monthCount;
//权益类型：1表示网盘、2表示字数包、3表示下载券
@property (nonatomic , assign) NSInteger type;
//用户id
@property (nonatomic , assign) NSInteger userId;
@end

@interface SSmemberData : NSObject


@property (nonatomic , assign) NSInteger Id;
//会员等级，2表示VIP，3表示SVIP
@property (nonatomic , assign) NSInteger level;

@property (nonatomic , copy) NSString *memberName;

@property (nonatomic , copy) NSString *alias;

@property (nonatomic , copy) NSString *memberExpirationTime;

@property (nonatomic , copy) NSString *memberOptions;

@end

@interface userMember : NSObject


@property (nonatomic , assign) NSInteger Id;

@property (nonatomic , copy) NSString *memberExpirationTime;

@property (nonatomic , assign) NSInteger memberId;

@property (nonatomic , assign) NSInteger memberLevel;

@property (nonatomic , copy) NSString *memberStartTime;

@property (nonatomic , assign) NSInteger userId;

@end


NS_ASSUME_NONNULL_END
